﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using System.Windows.Navigation;

namespace BodyTrain
{
    /// <summary>
    /// BalanceTrain.xaml 的交互逻辑
    /// </summary>
    public partial class BalanceTrain : Page
    {
        public BalanceTrain()
        {
            InitializeComponent();
        }

        private void StandOneLeg_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.GetNavigationService(this).Navigate(new Uri("/BalanceTrain/StandOneLeg.xaml", UriKind.Relative));
            //NavigationService.GetNavigationService(this).Navigate(new Uri("/SwitchBalance.xaml", UriKind.Relative));
        }

        private void ClockTrain_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.GetNavigationService(this).Navigate(new Uri("/BalanceTrain/ClockTrain.xaml", UriKind.Relative)); 
        }

        private void StepByStep_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.GetNavigationService(this).Navigate(new Uri("/BalanceTrain/StepByStep.xaml", UriKind.Relative));
        }

        private void RaiseSameSide_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.GetNavigationService(this).Navigate(new Uri("/BalanceTrain/RaiseSameSide.xaml", UriKind.Relative));
        }

        private void HighKnee_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.GetNavigationService(this).Navigate(new Uri("/BalanceTrain/HighKnee.xaml", UriKind.Relative));
        }

        private void PaintCircle_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.GetNavigationService(this).Navigate(new Uri("/BalanceTrain/PaintCircle.xaml", UriKind.Relative));

        }

        private void SideWalk_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.GetNavigationService(this).Navigate(new Uri("/BalanceTrain/SideWalk.xaml", UriKind.Relative));
        }

        private void BarrierWalk_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.GetNavigationService(this).Navigate(new Uri("/BalanceTrain/BarrierWalk.xaml", UriKind.Relative));
        }

        private void AdvancedBarrier_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.GetNavigationService(this).Navigate(new Uri("/BalanceTrain/AdvancedBarrier.xaml", UriKind.Relative)); 
        }

        private void GoBack_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.GetNavigationService(this).Navigate(new Uri("/MainPage.xaml", UriKind.Relative));
        }
    }
}
